package io.sdl.service.impl;

import io.sdl.common.service.impl.BaseServiceImpl;
import io.sdl.dao.SdlLikesDao;
import io.sdl.entity.SdlLikesEntity;
import io.sdl.service.SdlLikesService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.sdl.common.utils.PageUtils;
import io.sdl.common.utils.Query;



@Service("sdlLikesService")
public class SdlLikesServiceImpl extends BaseServiceImpl<SdlLikesDao, SdlLikesEntity> implements SdlLikesService {


    @Override
    public SdlLikesEntity selectByUserId(Long userId, Long diaryId) {

        return baseDao.selectByUserId(userId, diaryId);
    }
}